package com.huazhi.wzsnw.mapper;

import com.huazhi.wzsnw.model.Law;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LawMapper {
    int deleteByPrimaryKey(String tid);

    int insert(Law record);

    int insertSelective(Law record);

    Law selectByPrimaryKey(String tid);

    int updateByPrimaryKeySelective(Law record);

    int updateByPrimaryKeyWithBLOBs(Law record);

    int updateByPrimaryKey(Law record);

    List<String> getSearchLawList(@Param("key")String search);

    List<Law> findPagingByListTid(@Param("stringList")List<String> stringList,@Param("pageIndex")Integer pageIndex,@Param("pageSize")Integer pageSize);
}